package com.site.wisdom_construction.dao.iotModule;



import com.site.wisdom_construction.entity.iotModule.WisdomElectricityEquipment;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2021/12/17
 * @Description
 */
public interface WisdomElectricityEquipmentDao {
    //增加智慧用电设备
    int insertWisdomElectricityEquipment(Map map);

    //根据deviceNumber查询设备
    WisdomElectricityEquipment findWisdomElectricityEquipmentByDeviceNumber(Map map);

    //修改设备合闸状态
    int updateWisdomElectricityEquipmentByGateStatus(Map map);

    //修改设备状态
    int updateWisdomElectricityEquipmentByStatus(Map map);

    //统计设备状况
    List<WisdomElectricityEquipment> countWisdomElectricityEquipmentByGroup(Map map);
}
